import request from '@/utils/request'

// 查询立库检测站列表
export function listImsDetectionStation(query) {
  return request({
    url: '/system_setting/imsDetectionStation/list',
    method: 'get',
    params: query
  })
}

// 查询立库检测站详细
export function getImsDetectionStation(detectionStationId) {
  return request({
    url: '/system_setting/imsDetectionStation/' + detectionStationId,
    method: 'get'
  })
}

// 新增立库检测站
export function addImsDetectionStation(data) {
  return request({
    url: '/system_setting/imsDetectionStation',
    method: 'post',
    data: data
  })
}

// 修改立库检测站
export function updateImsDetectionStation(data) {
  return request({
    url: '/system_setting/imsDetectionStation',
    method: 'put',
    data: data
  })
}

// 删除立库检测站
export function delImsDetectionStation(detectionStationId) {
  return request({
    url: '/system_setting/imsDetectionStation/' + detectionStationId,
    method: 'delete'
  })
}
